
#include "mainwindow.h"

#include <QComboBox>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QGroupBox>
#include <QGridLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QVBoxLayout>

#include <QListWidget>
#include <QScrollArea>

MainWindow::MainWindow(QWidget *parent) : QWidget(parent)
{
	QHBoxLayout *layout = new QHBoxLayout(this);
	
    QVBoxLayout *Leftlayout = new QVBoxLayout();
// left

// 1.1
    QGroupBox *leftBox = new QGroupBox("信息展示");
    QVBoxLayout *leftBoxLayout = new QVBoxLayout(leftBox);
    Leftlayout->addWidget(leftBox);

    QVBoxLayout *Rightlayout = new QVBoxLayout();
// right

// 2.1
    QGroupBox *rightBox = new QGroupBox("信息展示");
    QVBoxLayout *rightBoxLayout = new QVBoxLayout(rightBox);
    Rightlayout->addWidget(rightBox);
    
    layout->addLayout(Leftlayout,1);
    layout->addLayout(Rightlayout,1);

    resize(1200, 800);
}
MainWindow::~MainWindow()
{
	
}
